﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Inbounds.Dto
{
    /// <summary>
    /// 新增、编辑页面显示的Dto
    /// </summary>
    [AutoMap(typeof(Entities.Inbound))]
    public class InboundEditDto:FullAuditedEntityDto<Guid>,IValidate,IDoubleWayDto
    {
        public Guid? Id { get; set;}

        [Required]
        [MaxLength(Entities.Inbound.MaxDeliveryLength)]
        public virtual string Vendor { get; set; }
        public virtual string Delivery { get; set; }
        public virtual string InvoiceNumber { get; set; }
        public virtual string MaterialNo { get; set; }
        public virtual string MaterialNameEn { get; set; }
        public virtual string MaterialNameCn { get; set; }
    }
}
